import {httpClient} from "@/main/apis/axios_proxy.js";


export function api_search_history_by_puuid({
                                                puuid,
                                                begIndex = 0,
                                                endIndex = 9
                                            }) {
    return httpClient.get(
        `/lol-match-history/v1/products/lol/${puuid}/matches?begIndex=${begIndex}&endIndex=${endIndex}`
    )
}

//查询单个对局的详细数据
export function api_search_game_detail_by_game_id({gameId}) {

    return httpClient.get(
        `/lol-match-history/v1/games/${gameId}`
    )
}


// /lol-match-history/v1/recently-played-summoners 最近一起玩过游戏的玩家
// /lol-match-history/v1/game-timelines/${gameId} 获取游戏的时间线 可以做对局回顾使用